#include <bits/stdc++.h>
using namespace std;

class Solution {
public:
    void reverseString(vector<char>& s) {
        int n = s.size();
        int hn = n>>1;
        for(int i=0; i<hn; ++i){
            swap(s[i], s[n-i-1]);
        }
    }
};